#ifndef CAMERA_CONTROL_PROXY_H
#define CAMERA_CONTROL_PROXY_H

#include <string>
#include <fcntl.h>
#include <sys/stat.h>
#include <mqueue.h>
#include <vector>
#include <yaml-cpp/yaml.h>
#include "AdvPOSIXMsgqueue.hpp"

class CameraControlProxy
{
  public:
    CameraControlProxy();
    virtual ~CameraControlProxy();
    void StartRecord(std::string savepath);
    void StopRecord();
    void StartMonitor();
    void StopMonitor();
    bool RecordStatus();
    bool MonitorStatus();
    std::vector<std::string> GetShareMemList();
    long GetShareMemSize();
  private:
    AdvPOSIXMsgqueue queue;
    YAML::Node collegeNode;
};

#endif
